package pers.ht.mbpo.bean;


public class Match {
    private String matchId;//比赛编号
    private String matchName;//比赛名称
    private String beginTime;//开始时间
    private String endTime;//结束时间
    private int maxNumber;//报名人数
    private int num;//报名人数
    private String isLock;//是否锁定
    private String remark;

    public Match() {
    }


    public Match(String matchId, String matchName, String beginTime, String endTime, int maxNumber) {
        this.matchId = matchId;
        this.matchName = matchName;
        this.beginTime = beginTime;
        this.endTime = endTime;
        this.maxNumber = maxNumber;
    }

    public Match(String matchId, String matchName, String beginTime, String endTime, int maxNumber, int num, String remark) {
        this.matchId = matchId;
        this.matchName = matchName;
        this.beginTime = beginTime;
        this.endTime = endTime;
        this.maxNumber = maxNumber;
        this.num = num;
        this.remark = remark;
    }

    public String getMatchId() {
        return matchId;
    }

    public void setMatchId(String matchId) {
        this.matchId = matchId;
    }

    public String getMatchName() {
        return matchName;
    }

    public void setMatchName(String matchName) {
        this.matchName = matchName;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public int getMaxNumber() {
        return maxNumber;
    }

    public void setMaxNumber(int maxNumber) {
        this.maxNumber = maxNumber;
    }

    public String getIsLock() {
        return isLock;
    }

    public void setIsLock(String isLock) {
        this.isLock = isLock;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Match{" +
                "matchId='" + matchId + '\'' +
                ", matchName='" + matchName + '\'' +
                ", beginTime='" + beginTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", maxNumber=" + maxNumber +
                ", num=" + num +
                ", isLock='" + isLock + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
